package sensors.virtualSensors;

import maze.Maze;
import pacman.Ghost;
import sensors.LightSensor;
import sensors.Sensor;

public class VirtualLightSensor  extends Sensor implements LightSensor{

	public VirtualLightSensor(Ghost ghost){
		super(ghost);
	}

	@Override
	public int readValue() {
		return getGhost().getSimulator().SimulateLightSensor(getGhost());
	}
}
